package com.ruoyi.tactics.algorithm;

import com.ruoyi.tactics.ZodiacResult;

import java.util.Arrays;
import java.util.HashSet;
import java.util.List;
import java.util.Set;

/**
 * 红波
 */
public class HONBAlgorithm extends AbstractAlgorithm {

    private final List<Integer> reds = Arrays.asList(1, 2, 7, 8, 12, 13, 18, 19, 23, 24, 29, 30, 34, 35, 40, 45, 46);

    @Override
    public Boolean isWin(ZodiacResult zodiacResult, String... code) {
        return reds.contains(zodiacResult.getTm());
    }
}
